<template>
  <el-row style="margin-top: 10px">
    <el-col :span="20" :offset="2">
      <router-link to="/"><el-button type="primary">查看</el-button></router-link>&nbsp&nbsp
      <router-link to="/insert"><el-button type="primary">插入</el-button></router-link>
      <router-view></router-view>
    </el-col>
  </el-row>
</template>


<style>
</style>
<script>
import store from './store';
export default {
  store,
  created() {
    console.log(this.store)
  }
}
</script>